package com.ruoyi.his.service;

import com.ruoyi.his.domain.TMedicalDrugsPurchase;
import com.ruoyi.his.domain.vo.TMedicalDrugsPurchaseVo;

import java.util.List;

/**
 * 药品采购Service接口
 * 
 * @author ruoyi
 * @date 2021-09-10
 */
public interface ITMedicalDrugsPurchaseService 
{
    /**
     * 查询药品采购
     * 
     * @param purchaseid 药品采购主键
     * @return 药品采购
     */
    public TMedicalDrugsPurchase selectTMedicalDrugsPurchaseByPurchaseid(Long purchaseid);

    /**
     * 查询药品采购列表
     * 
     * @param tMedicalDrugsPurchase 药品采购
     * @return 药品采购集合
     */
    public List<TMedicalDrugsPurchaseVo> selectTMedicalDrugsPurchaseList(TMedicalDrugsPurchaseVo tMedicalDrugsPurchase);

    /**
     * 新增药品采购
     * 
     * @param tMedicalDrugsPurchase 药品采购
     * @return 结果
     */
    public int insertTMedicalDrugsPurchase(TMedicalDrugsPurchase tMedicalDrugsPurchase);

    /**
     * 修改药品采购
     * 
     * @param tMedicalDrugsPurchase 药品采购
     * @return 结果
     */
    public int updateTMedicalDrugsPurchase(TMedicalDrugsPurchase tMedicalDrugsPurchase);

    /**
     * 批量删除药品采购
     * 
     * @param purchaseids 需要删除的药品采购主键集合
     * @return 结果
     */
    public int deleteTMedicalDrugsPurchaseByPurchaseids(Long[] purchaseids);

    /**
     * 删除药品采购信息
     * 
     * @param purchaseid 药品采购主键
     * @return 结果
     */
    public int deleteTMedicalDrugsPurchaseByPurchaseid(Long purchaseid);
}
